package com.lingkang.flychat.dto;

import java.io.Serializable;

public class WsMessage implements Serializable {
    private Integer id;
    /**
     * 1=用户给好友发送消息
     */
    private Integer type;
    private String sendUser;
    private String receiveUser;
    private String content;

    @Override
    public String toString() {
        return "WsMessage{" +
                "id=" + id +
                ", type=" + type +
                ", sendUser='" + sendUser + '\'' +
                ", receiveUser='" + receiveUser + '\'' +
                ", content='" + content + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getSendUser() {
        return sendUser;
    }

    public void setSendUser(String sendUser) {
        this.sendUser = sendUser;
    }

    public String getReceiveUser() {
        return receiveUser;
    }

    public void setReceiveUser(String receiveUser) {
        this.receiveUser = receiveUser;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
